<?php
class Pagemanager_Data_Insertpagecontentvalues implements Pagemanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "INSERT INTO page_content_values(page_name, page_title, page_description, page_content, image) VALUES('".$variables['post']['page_name']."', '".$variables['post']['page_title']."', '".$variables['post']['page_description']."', '".$variables['post']['page_content']."', '".$variables['post']['page_image']."');";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }
}
